package com.example.teamilkmall.service;

import com.example.teamilkmall.entity.AdminInfo;
import com.example.teamilkmall.entity.TeaInfo;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface TealnfoService {
    PageInfo<TeaInfo> listTeainfo(Integer pageSize, Integer pageNum, String name);

    List<TeaInfo> listTeainfo();
    void updateTea(TeaInfo teaInfo);

    void deloneTea(Integer id);

    void addTea(TeaInfo teaInfo);
}
